<?php
/**
 * Created by littleU.
 * User: littleU
 * Date: 2021-01-29
 * Time: 13:44
 */

namespace app\api\model;


class ProductImage extends BaseModel
{
    public function imgUrl()
    {
        return $this->hasOne('image','id','img_id')->bind('url');
    }
}